package hongcaosp.app.android.modle.impl;

import com.lzy.okgo.OkGo;
import com.lzy.okgo.model.HttpParams;

import hongcaosp.app.android.BuildConfig;
import hongcaosp.app.android.modle.BaseResponse;
import hongcaosp.app.android.modle.DataCallBack;
import hongcaosp.app.android.modle.bean.Pagebean;
import hongcaosp.app.android.modle.bean.Recharge;
import hongcaosp.app.android.modle.mi.MemberModle;

public class MemberModleImpl implements MemberModle {
    @Override
    public void rechargeList(String token, int operationType, DataCallBack<Pagebean<Recharge>> callBack) {
        HttpParams params = new HttpParams();
        params.put("token", token);
        params.put("operationType", operationType);
        OkGo.<BaseResponse>post(BuildConfig.HOST + "/api/membervip/rechargeList").params(params).execute(callBack);
    }
}
